package com.mdd.service;

import com.mdd.domain.Book;

import java.util.List;

public interface BookService {
    // 查询所有
    List<Book> selectAll();

    // 添加
    Integer addBook(Book book);

    Book selectById(int id);

    Integer updateById(Book book);

    Integer deleteById(int id);
}
